package com.matt.service.impl;

import com.matt.domain.rel.RelClassesTeacher;
import com.matt.repository.rel.RelClassesTeacherRepository;
import com.matt.service.RelClassesTeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class RelClassesTeacherServiceImpl implements RelClassesTeacherService {

    @Autowired
    private RelClassesTeacherRepository relClassesTeacherRepository;

    @Override
    public List<RelClassesTeacher> findByClassesId(String classesId) {
        return relClassesTeacherRepository.findByClassesId(classesId);
    }
}
